<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
	<title>$Title$</title>
	<base href="<%=request.getContextPath()+"/"%>">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>审核报销单</title>
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript">
		function submitForm(){
			window.close();

		}
		/* window.opener.location.reload()*/

	</script>

	<script type="text/javascript">

		$(function () {

			$("#sub").click(function () {

				var val =$("form").serialize();

				$.post("ptu/AuditingServlet?method=saveAuditing",val,function (result) {

					if(result>0){

						//重新加载当前窗口父窗口
						window.opener.location.reload();

						window.close();
					}else {
						alert("审核失败")
					}

				},"json");


			})

		})


	</script>
</head>

<body>

<div class="formtitle"><span>审核报销单</span></div>
<form action="#" >
	<ul class="forminfo">
		<li>
			<label>报销单编号</label>
			<input name="expid" type="text" class="dfinput" value="<%=request.getParameter("expid")%>" readonly/>
		</li>
		<li>
			<label>报销金额</label>
			<input name="money" type="text" class="dfinput" value="<%=request.getParameter("money")%>" readonly/>
		</li>
		<li>
			<label>审核结果</label>
			<input name="result" type="radio" value="2"/>通过
			<input name="result" type="radio" value="3"/>拒绝
			<input name="result" type="radio" value="4"/>打回
		</li>
		<li>
			<label>审核意见</label>
			<input name="auditDesc" type="text" class="dfinput" />
		</li>
		<li>
			<label>&nbsp;</label>
			<input id="sub" type="button" class="btn" value="确认保存" />
		</li>
	</ul>
</form>
</body>

</html>